export default [
    { //公告
        path: '/announce',
        component: () => import('@/components/announce/Announce')
    },
    { //公告详情
        path: '/announceDetail/:id',
        component: () => import('@/components/announce/AnnounceDetail')
    },
    { // 新的资讯路由
        path: '/freshInformation',
        component: () => import('@/components/information/FreshInformation')
    },
    { // 新的资讯详情
        path: '/freshInformationDetail',
        component: () => import('@/components/informationDetails/FreshInformationDetails')
    },
    {//公共投票列表
        path: '/publicVoting',
        component: () => import('@/components/voting/publicVoting/List')
    },
    {//公共投票详情
        path: '/publicVoting/Detail/:votId',
        component: () => import('@/components/voting/publicVoting/Detail')
    },
    {//调查问卷
        path: '/evaluation',
        component: () => import('@/components/evaluation/Evaluation')
    },
    {//培训需求调查， 评价问卷
        path: '/certifiedDetail/:id/questionnaire',
        component: () => import('@/components/evaluation/certifiedDetail')
    },
    {//训后考试的课程评价
        path: '/certifiedDetail/:id/eva',
        component: () => import('@/components/evaluation/certifiedEvaDetail')
    },
    {//调查问卷详情
        path: '/detail/:id/:type',
        component: () => import('@/components/evaluation/Detail')
    },
    { //学习排行路由
        path: '/learningSituation/:encId',
        component: () => import('@/components/learningSituation/LearningSituation')
    },
    { //积分排行路由
        path: '/pointsLeaderboard/:encId',
        component: () => import('@/components/pointsLeaderboard/PointsLeaderboard')
    },
    { //课程排行路由
        path: '/courseLeaderboard',
        component: () => import('@/components/courseLeaderboard/CourseLeaderboard')
    },
    { //直播
        path: '/live',
        component: () => import('@/components/live/Live')
    },
    { //直播详情
        path: '/live/LiveDetail/:lvId',
        component: () => import('@/components/live/LiveDetail')
    },
    {//公开课
        path: '/publicClass/index',
        name: 'publicCourse',
        component: () => import('@/components/publicClass/index')
    },
    { //公告详情
        path: '/publicClass/openDetail/:id',
        component: () => import('@/components/publicClass/OpenDetail')
    },
    { //讲师风采
        path: '/instructorList',
        component: () => import('@/components/instructor/InstructorList')
    },
    { //讲师详情
        path: '/instructorDetail',
        component: () => import('@/components/instructor/InstructorDetail')
    },
    { //在线问答--问题列表
        path: '/know',
        component: () => import('@/components/know/index'),
        meta: { requiresAuth: true },
        children: [
            { //在线问答--问答列表
                path: 'knowList',
                name: 'KnowList',
                component: () => import('@/components/know/KnowList')
            },
            { //在线问答--与我相关
                path: 'relatedToMe',
                component: () => import('@/components/know/RelatedToMe'),
                children: [
                    {
                        path: 'myQuestion',
                        component: () => import('@/components/know/MyQuestion')
                    },
                    {
                        path: 'myAnswer',
                        name: 'myAnswer',
                        component: () => import('@/components/know/MyAnswer')
                    }
                ]
            },
            { //在线问答--求助于我
                path: 'myHelpQuestion',
                component: () => import('@/components/know/MyHelpQuestion')
            }
        ]
    },
    { //在线问答--问答详情
        path: '/knowDetail/:type/:id',
        component: () => import('@/components/know/KnowDetail')
    },
    { //在线问答--创建问题
        path: '/addQuestion',
        component: () => import('@/components/know/AddQuestion')
    },
    {
        path: '/modifyQuestion/:id',
        component: () => import('@/components/know/ModifyQuestion')
    },
    /*关键岗位*/
    {
        path: '/keyPosition',
        component: () => import('@/components/keyPosition/KeyPosition')
    },
    /*关键岗位详情*/
    {
        path: '/keyPositionDetail/:id',
        component: () => import('@/components/keyPosition/KeyPositionDetail')
    },
    /*职级发展学习地图*/
    {
        path: '/gradeMapList',
        component: () => import('@/components/gradeMap/GradeMapList')
    },
    /*职级发展学习地图详情*/
    {
        path: '/nodelist/:id',
        name: 'nodelist',
        component: () => import('@/components/gradeMap/Nodelist')
    },
    /*职级发展学习地图课程详情*/
    {
        path: '/courseList/:pfsId/:psiUgrId',
        name: 'courseList',
        component: () => import('@/components/gradeMap/CourseList')
    },
    /*新的学习地图路由*/
    {
        path: '/studyMap',
        component: () => import('@/components/studyMap/list')
    },
    /*学习地图详情*/
    {
        path: '/studyMapDetail',
        component: () => import('@/components/studyMap/detail')
    },
    /*新知识专题路由*/
    {
        path: '/knowledge/special',
        component: () => import('@/components/konwledgeSpecial/list')
    },
    /*知识专题详情*/
    {
        path: '/knowledgeDetail',
        component: () => import('@/components/konwledgeSpecial/detail')
    },
    { //知识中心
        path: '/knowledge',
        component: () => import('@/components/knowledge/index'),
        meta: { requiresAuth: true },
        children: [
            { //知识中心--知识列表
                path: 'knowledgeList',
                component: () => import('@/components/knowledge/KnowledgeList')
            },
            { //知识中心--知识排行
                path: 'knowledgeRanking',
                component: () => import('@/components/knowledge/KnowledgeRanking')
            },
            { //知识中心--我的分享
                path: 'mySharing',
                component: () => import('@/components/knowledge/MySharing')
            }
        ]
    },
    { //知识中心--我要分享
        path: '/addShare',
        component: () => import('@/components/knowledge/AddShare')
    },
    { //知识中心--我的分享--编辑
        path: '/editShare',
        component: () => import('@/components/knowledge/EditShare')
    },
    { //知识中心--详情
        path: '/knowledgeDetail/:id',
        component: () => import('@/components/knowledge/detail')
    },
    { //知识中心--打开文档
        path: '/docPage',
        component: () => import('@/components/knowledge/docPage')
    },
    { //知识中心--我的知识
        path: '/myKnowledge/:usrEntId',
        component: () => import('@/components/knowledge/MyKnowledge')
    },
    { //知识中心--我的错题库
        path: '/myBank/:usrEntId',
        component: () => import('@/components/errorBank/MyBank')
    },
    /*我的错题库 - 练习页面*/
    {
        path: '/mistakeExercises/practice',
        component: () => import('@/components/errorBank/Practice')
    },
    /*我的错题库 - 报告页面*/
    {
        path: '/mistakeExercises/report',
        component: () => import('@/components/errorBank/Report')
    },
    /*我的错题库 - 错题明细*/
    {
        path: '/mistakeExercises/errorDetail',
        component: () => import('@/components/errorBank/ErrorDetail')
    },
    { //积分商城--商品列表
        path: '/mall/list',
        component: () => import('@/components/mall/MallList')
    },
    { //积分商城--可兑换商品列表
        path: '/mall/ConvertibleMallList',
        component: () => import('@/components/mall/ConvertibleMallList')
    },
    { //积分商城--兑换排行榜
        path: '/mall/MallTopList',
        component: () => import('@/components/mall/MallTopList')
    },
    { //积分商城--商品详情页
        path: '/mall/MallDetails/:impId',
        component: () => import('@/components/mall/MallDetails')
    },
    { //积分商城--填写兑换地址页
        path: '/mall/EditAddress/:impId',
        component: () => import('@/components/mall/EditAddress')
    },
    { //积分商城--兑换记录页
        path: '/mall/ConvertibleRecord',
        component: () => import('@/components/mall/ConvertibleRecord')
    },
    { //待回复的邀请
        path: '/invitation',
        component: () => import('@/components/invitation/InvitationList')
    },
    { //待回复的邀请详情
        path: '/invitation/:id',
        component: () => import('@/components/invitation/InvitationDetail')
    },
    { //请假审批
        path: '/leaveApproval',
        component: () => import('@/components/leaveApproval/LeaveApproval')
    },
    { //请假审批详情
        path: '/leaveApproval/:id',
        component: () => import('@/components/leaveApproval/LeaveApprovalDetail')
    },
    { //试卷批改
        path: '/examGrading',
        component: () => import('@/components/examGrading/examGrading')
    },
    { //试卷批改详情
        path: '/examGrading/:id/:tkhId/:attemptNbr',
        component: () => import('@/components/examGrading/examGradingDetail')
    },
    { // 我的证书
        path: '/myCertificate',
        component: () => import('@/components/myCertificate/List')
    },
    { // 预览证书
        path: '/myCertificate/preview/:itmId/:type/:certId',
        component: () => import('@/components/myCertificate/previewCert')
    }
];
